package com.wbhz.entity;

public class BankCard {
	private int bankCardId;// int not null primary key AUTO_INCREMENT,
	private int bankCardUserId;//int not null,
	private String bankCardNumber;// VARCHAR(20) not null,
	private String bankCardPwd;//VARCHAR(20) default '123456',
	private float bankCardBalance;// FLOAT default 1000,
	public int getBankCardId() {
		return bankCardId;
	}
	public void setBankCardId(int bankCardId) {
		this.bankCardId = bankCardId;
	}
	public int getBankCardUserId() {
		return bankCardUserId;
	}
	public void setBankCardUserId(int bankCardUserId) {
		this.bankCardUserId = bankCardUserId;
	}
	public String getBankCardNumber() {
		return bankCardNumber;
	}
	public void setBankCardNumber(String bankCardNumber) {
		this.bankCardNumber = bankCardNumber;
	}
	public String getBankCardPwd() {
		return bankCardPwd;
	}
	public void setBankCardPwd(String bankCardPwd) {
		this.bankCardPwd = bankCardPwd;
	}
	public float getBankCardBalance() {
		return bankCardBalance;
	}
	public void setBankCardBalance(float bankCardBalance) {
		this.bankCardBalance = bankCardBalance;
	}
	@Override
	public String toString() {
		return "BankCard [bankCardId=" + bankCardId + ", bankCardUserId=" + bankCardUserId + ", bankCardNumber="
				+ bankCardNumber + ", bankCardPwd=" + bankCardPwd + ", bankCardBalance=" + bankCardBalance + "]";
	}
	public BankCard(int bankCardId, int bankCardUserId, String bankCardNumber, String bankCardPwd,
			float bankCardBalance) {
		super();
		this.bankCardId = bankCardId;
		this.bankCardUserId = bankCardUserId;
		this.bankCardNumber = bankCardNumber;
		this.bankCardPwd = bankCardPwd;
		this.bankCardBalance = bankCardBalance;
	}
	public BankCard() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
